<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>手机自适应宽高</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
    <style rel="stylesheet">
        * {
            padding: 0;
            margin: 0;
            border: none;
        }
        .a1{
            width: 50vw;
            height: 50vh;
            float: left;
        }
        img{
            width: 100%;
        }
        #b1{
            width: 0;
            height: 0;
            border-left: 50px solid black;
            border-right: 50px solid blue;
            border-bottom: 50px solid red;
            border-top: 50px solid transparent;
        }

    </style>

</head>
<body>
<div id="b1">

</div>

<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>
<div class="a1">
    <img src="images/computer_1.jpg">
</div>


</body>
</html>